#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QPixmap>
#include <QFileDialog>
#include <QFileInfoList>
#include <QFileInfo>
#include <QDebug>
#include <dialog_userlog.h>
#include <QMessageBox>
namespace Ui {
class Widget;
}

class Widget : public QWidget
{
    Q_OBJECT

public:
    explicit Widget(QWidget *parent = 0);
    ~Widget();

void displayImg();
private slots:


    void on_pushButton_3_clicked();

    void on_pushButton_clicked();

    void on_pushButton_2_clicked();

private:
    Ui::Widget *ui;
    QList<QFileInfo> imgList;
    int imgIndex;
};

#endif // WIDGET_H
